package com.intramirror.wd.model.vo.page;

import java.util.List;

import com.intramirror.common.base.model.BaseOutputVO;
import com.intramirror.common.base.model.PageInputVO;

public class PageVo<T> extends BaseOutputVO {
    private int count;
    private List<T> list;
    private Integer page;
    private Integer pageSize;

    public PageVo() {
    }

    public PageVo(PageInputVO inputVO) {
        if (inputVO != null) {
            this.page = inputVO.getPageNo();
            this.pageSize = inputVO.getPageSize();
        }

    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
